﻿using System;
using System.Runtime.InteropServices;

namespace Valve.VR
{
	// Token: 0x02000528 RID: 1320
	public class CVRChaperone
	{
		// Token: 0x06001BE1 RID: 7137 RVA: 0x00011BCE File Offset: 0x0000FDCE
		internal CVRChaperone(IntPtr pInterface)
		{
			this.FnTable = (IVRChaperone)Marshal.PtrToStructure(pInterface, typeof(IVRChaperone));
		}

		// Token: 0x06001BE2 RID: 7138 RVA: 0x0005FA60 File Offset: 0x0005DC60
		public ChaperoneCalibrationState GetCalibrationState()
		{
			return this.FnTable.GetCalibrationState();
		}

		// Token: 0x06001BE3 RID: 7139 RVA: 0x0005FA80 File Offset: 0x0005DC80
		public bool GetPlayAreaSize(ref float pSizeX, ref float pSizeZ)
		{
			pSizeX = 0f;
			pSizeZ = 0f;
			return this.FnTable.GetPlayAreaSize(ref pSizeX, ref pSizeZ);
		}

		// Token: 0x06001BE4 RID: 7140 RVA: 0x0005FAB0 File Offset: 0x0005DCB0
		public bool GetPlayAreaRect(ref HmdQuad_t rect)
		{
			return this.FnTable.GetPlayAreaRect(ref rect);
		}

		// Token: 0x06001BE5 RID: 7141 RVA: 0x00011BF1 File Offset: 0x0000FDF1
		public void ReloadInfo()
		{
			this.FnTable.ReloadInfo();
		}

		// Token: 0x06001BE6 RID: 7142 RVA: 0x00011C03 File Offset: 0x0000FE03
		public void SetSceneColor(HmdColor_t color)
		{
			this.FnTable.SetSceneColor(color);
		}

		// Token: 0x06001BE7 RID: 7143 RVA: 0x00011C16 File Offset: 0x0000FE16
		public void GetBoundsColor(ref HmdColor_t pOutputColorArray, int nNumOutputColors, float flCollisionBoundsFadeDistance, ref HmdColor_t pOutputCameraColor)
		{
			this.FnTable.GetBoundsColor(ref pOutputColorArray, nNumOutputColors, flCollisionBoundsFadeDistance, ref pOutputCameraColor);
		}

		// Token: 0x06001BE8 RID: 7144 RVA: 0x0005FAD0 File Offset: 0x0005DCD0
		public bool AreBoundsVisible()
		{
			return this.FnTable.AreBoundsVisible();
		}

		// Token: 0x06001BE9 RID: 7145 RVA: 0x00011C2D File Offset: 0x0000FE2D
		public void ForceBoundsVisible(bool bForce)
		{
			this.FnTable.ForceBoundsVisible(bForce);
		}

		// Token: 0x040010F5 RID: 4341
		public IVRChaperone FnTable;
	}
}
